Changing Word page settings

Hello,

If I run the example given and create a new word page its size and font setting are set to some default values,
I need to change this, page size as A3, Font size as 12 and font type "Arial"
Can anyone help on this?
OleAutoObj theWordApp = oleGetAutoObject("Word.Application")
if (null theWordApp){
theWordApp =
oleCreateAutoObject("Word.Application")
}
olePut (theWordApp, "visible", true)
infoBox "Now you see it."
SystemAdmin - Wed Apr 25 04:28:51 EDT 2012

Re: Changing Word page settings
llandale - Wed Apr 25 12:06:02 EDT 2012

I think it would be overall better for you to create a Word Template file just the way you want it, and then ask folks how to attach that template to your "theWordApp". Then you can change things without modifying your code.

-Louie

Re: Changing Word page settings
SystemAdmin - Thu Apr 26 08:25:26 EDT 2012

llandale - Wed Apr 25 12:06:02 EDT 2012
I think it would be overall better for you to create a Word Template file just the way you want it, and then ask folks how to attach that template to your "theWordApp". Then you can change things without modifying your code.

-Louie

Dear Louie,

Thanks for showing the correct path.
Now I have created a template file(test.dot) with some macros in it. I want to use this template for the documnet generation through DXL. can any one guide me in this??

Thanks in advance
Lee

Re: Changing Word page settings
SystemAdmin - Mon Apr 30 06:05:43 EDT 2012

SystemAdmin - Thu Apr 26 08:25:26 EDT 2012
Dear Louie,

Thanks for showing the correct path.
Now I have created a template file(test.dot) with some macros in it. I want to use this template for the documnet generation through DXL. can any one guide me in this??

Thanks in advance
Lee

For solution Refer https://www.ibm.com/developerworks/forums/thread.jspa?threadID=426553&tstart=0